package com.zimin.cloud.registry.eureka;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @author zimin
 * @since 2021/10/13 3:39 下午
 */
@EnableEurekaServer
@SpringBootApplication
public class EurekaRegistryApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(EurekaRegistryApplication.class)
                .web(WebApplicationType.SERVLET).run(args);
    }

}
